PROJECT(TeNet)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
SET(CMAKE_BUILD_TYPE Debug)
SET(CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS} -00 -g -ggdb -Wall")
AUX_SOURCE_DIRECTORY(./ LIB_SRC) 
ADD_LIBRARY(TeNet ${LIB_SRC})
SET(CMAKE_EXE_LINKER_FLAGS "-lpthread")
TARGET_LINK_LIBRARIES(TeNet pthread)
